package com.ruoyi.carUser.service.imp;

import com.ruoyi.carUser.mapper.UserMapper;
import com.ruoyi.carUser.service.UserService;
import com.ruoyi.system.api.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User selectUserByUserId(Integer id,Long carId) {
        return  userMapper.selectUserByUserId(id,carId);

    }
}
